package com.example.transdemo.service;

/*
 * @author zzr
 * @date: 2025/10/03  21:14
 * @description:
 */

import com.example.transdemo.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;
    public void registryUser(String name, String password) {
        // 插入用户信息
        userInfoMapper.insert(name, password);
    }
}
